<tagLib name="html" />
<include file="../Public/header" />
<div id="wrap"> <include file="../Public/top" />
  <div id="content">
    <div class="mainarea">
      <div class="maininner">
        <div class="bdrcontent">
          <form id="phpform" method="post" action="__URL__/update">
              <input type="hidden" name="id" value="{$vo.id}">
            <table width="100%" cellpadding="0" cellspacing="0" class="formtable">
			  <tr>
                <td width="150">name：</td>
                <td><input name="name" type="text" style="width:260px;" id="name" value="{$vo.name}"  /></td>
              </tr>
			  <tr>
                <td>pwd：</td>
                <td><input name="pwd" type="text" style="width:260px;" id="pwd" value="{$vo.pwd}"  /></td>
              </tr>
			  <tr>
                <td>所属组：</td>
			    <td><select id="gid" name="gid">
                    <option value="0">请选择组类型</option>
                    <volist name="gid" id="gid" >
                      <option value="{$gid.id}">{$gid.name}</option>
                    </volist>
                  </select>
                </td>
		      </tr>
              <tr>
                <td>&nbsp;</td>
                <td><input type="submit" value="提交" class="submit" />
                  <input name="reset" type="reset" value="重置" class="submit" />
                  <input name="button" type="button" value="返回" onclick="javascript:history.go(-1);"  class="submit" /></td>
              </tr>
            </table>
          </form>
        </div>
        <br />
      </div>
    </div>
    <include file="../Public/menu" /> </div>
  <include file="../Public/footer" /> </div>
</body></html>
<script type="text/javascript">
    $(document).ready(function()
    {
		 $('#gid option[@value="{$vo.gid}"]').attr('selected','selected');
    });
</script>
